<title>Profile</title>
<div class="adminleft">
    <p><b>Statistic</b></p>
    <div class="statistic">
        <div class="stc">
            <div class="hd">Rangking</div>
            <div class="is">
                <ol><?php foreach ($rangking as $rgkg): ?>
                    <li><?php echo $rgkg['namkand']; ?> => <?php echo $rgkg['qty']; ?></li><br/>
                    <?php endforeach; ?></ol>
            </div>
        </div>
        <div class="stc">
            <div class="hd">Qty Visitor</div>
            <div class="is">
                <?php foreach ($qtyvst as $rgkg): ?>
                    Jumlah pengunjung hingga saat ini : <b><?php echo $rgkg['qtyvst']; ?></b>
                <?php endforeach; ?>
            </div>
        </div>
        <div class="stc">
            <div class="hd">User Online</div>
            <div class="is">
                <?php foreach ($online as $rgkg): ?>
                    User online : <b><?php echo $rgkg['qtyol']; ?></b>
                <?php endforeach; ?>
            </div>
        </div>
        <div class="stc">
            <div class="hd">Last IP Visit</div>
            <div class="is">
                <?php foreach ($lastip as $rgkg): ?>
                    Pengunjung terakhir : <b><?php echo $rgkg['ip_address']; ?></b>
                <?php endforeach; ?>
            </div>
        </div>
    </div>
</div>